﻿<UserControl x:Class="MishraReader.Views.Settings.BookmarkServicesTabItem"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:mishraReader="clr-namespace:MishraReader;assembly=MishraReader.ViewModels"
             xmlns:platformVMs="clr-namespace:MishraReader.PlatformVMs"
             mc:Ignorable="d" 
              Foreground="{DynamicResource MetroTextLight}"
             d:DataContext="{d:DesignInstance Type=platformVMs:SettingsViewModel, IsDesignTimeCreatable=False}"
             d:DesignHeight="300" d:DesignWidth="300">
    <StackPanel MaxWidth="800" HorizontalAlignment="Left">
        <TextBlock Text="{x:Static mishraReader:Strings.Option_BookmarkServiceTitle}" Style="{DynamicResource MetroHeader2}" Margin="0,0,0,0"/>
        <TextBlock TextWrapping="Wrap" Text="{x:Static mishraReader:Strings.Option_BookmarkServiceDescription}" Style="{DynamicResource MetroSubText}" />

        <ItemsControl ItemsSource="{Binding AvailableBookmarkServices}" ItemTemplate="{StaticResource serviceAccountSettings}"  Margin="0,30,0,0">
            <ItemsControl.ItemsPanel>
                <ItemsPanelTemplate>
                    <UniformGrid />
                </ItemsPanelTemplate>
            </ItemsControl.ItemsPanel>
        </ItemsControl>

    </StackPanel>
</UserControl>
